package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * 电梯信息
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_elevator_device")
public class ElevatorDevice extends BaseEntity {
    /**
     * 设备id(对接梯联网设备）
     */
    @TableField(value = "device_id",updateStrategy = FieldStrategy.IGNORED)
    private String deviceId;

    /**
     * 电梯id
     */
    @TableField(value = "elevator_id")
    private Long elevatorId;
}
